﻿@model CloudFranceTriple.Models.PollAnswerSet
@{
    ViewBag.Title = "";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="content-padding">
    <section>
        @using (Html.BeginForm())
        {
            @Html.AntiForgeryToken()
            @Html.ValidationSummary(true)

            <fieldset>
                <legend>PollAnswerSet</legend>

                @Html.HiddenFor(model => model.Id)
                @Html.HiddenFor(model => model.Poll_Id)
                @Html.HiddenFor(model => model.NumberVotePollAnswer)

                <div class="display-label">
                    @CloudFranceTriple.WebRole.Properties.Resources.PollLabel
                </div>
                <div class="display-field">
                    @Html.DisplayFor(model => model.PollSet.LabelPoll)
                </div>

                <div class="editor-label">
                    @CloudFranceTriple.WebRole.Properties.Resources.PollAnswerLabel
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.LabelPollAnwser)
                    @Html.ValidationMessageFor(model => model.LabelPollAnwser)
                </div>

                <p>
                    <input type="submit" value="@CloudFranceTriple.WebRole.Properties.Resources.ButtonSave" />
                </p>
            </fieldset>
        }
        @Html.Partial("_PollAnswerBackToPostListByTopic")
    </section>
</div>
